using System.Collections.Generic;
using OTE.Contract;
using OTE.Web.Infrastructure.TabMenu;

namespace OTE.Web.Mvc.ViewModels.Question
{
    public class CreateQuestionViewModel : ViewModelBase
    {
        public CreateQuestionViewModel()
        {
            Question = new QuestionDTO();

            Categories = new List<CategoryDTO>();
        }

        public QuestionDTO Question { get; set; }

        public IList<MenuModel> MenuItems { get; set; }

        public bool IsMetaDataSelected { get; set; }

        public IList<CategoryDTO> Categories { get; set; }

        public string QuestionContent { get; set; }

        // for dropdown list
        public string CategoryName { get; set; }

        // hidden field
        public int CatSelectedId { get; set; }
    }
}